<template>

    <div>
        test page
        <a v-on:click="get_iframe_content()" >123</a>
        <iframe  id="video" src="http://shop.cloud.com/frontend/index.html" frameborder="0"></iframe>
    </div>

</template>

<script>
    export default {
        name: "test",
        data:function(){
            return {

            }
        },

        methods:{

            get_iframe_content:function(){

                // document.domain = "jiaju.com";

                var iframe = document.getElementById('video').contentWindow;

                console.log( iframe );

                var body = iframe.document.getElementsByTagName('body');

                console.log( body );

            }

        },
        created:function(){

        }
    }
</script>

<style scoped>

</style>